Automattic\Jetpack\My_Jetpack\Products\Jetpack_Ai B

Total Complexity 89
Dependencies 6
Dependents 1
Total lines 643
Lines of code 341
Logical lines of code 124
Comment lines 217
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
get_pricing_for_ui_by_usage_tier()
A
48 10 34
is_upgradable()
A
57 10 16
get_features_by_tier()
S
43 4 60
get_features_by_usage_tier()
S
52 6 24
get_ai_assistant_feature()
S
56 6 19
has_paid_plan_for_product()
S
59 6 14
get_next_usage_tier()
S
62 6 11
get_pricing_for_ui()
S
48 4 39
add_ai_block()
S
62 6 10
get_current_usage_tier()
S
62 4 11
are_tier_plans_enabled()
S
63 4 10
admin_enqueue_scripts()
S
59 1 17
get_tiers()
S
67 2 9
get_long_description_by_usage_tier()
S
65 2 8
is_site_connected()
S
80 1 3
is_plugin_active()
S
80 1 3
extend_plugin_action_links()
S
74 1 4
is_plugin_installed()
S
80 1 3
get_manage_url()
S
81 1 3
get_post_activation_url()
S
81 1 3
get_info()
S
72 1 5
get_post_checkout_url()
S
81 1 3
get_wpcom_bi_yearly_product_slug()
S
81 1 3
get_wpcom_monthly_product_slug()
S
81 1 3
get_plugin_slug()
S
80 1 3
get_features()
S
76 1 4
get_long_description()
S
76 1 4
get_description()
S
79 1 3
get_title()
S
81 1 3
get_name()
S
81 1 3
get_plugin_filename()
S
80 1 3
get_wpcom_product_slug()
S
81 1 3